package com.team.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author keluoyisi
 * @program: seven
 * @description:
 * @date 2022-10-19 23:46:21
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class AppointmentMessage {
    //医生表id
    private int id;
    //医生编号
    private String account;
    //值班表id
    private int did;
    //真正的当前时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    //已经预约的个数
    private int count;
    //总个数
    private int num;
    //表示预约的价格
    private BigDecimal price;
}
